#include <iostream>
#include <list>
#include "List.hpp"
using namespace std;


void test()
{
    list<int> l1 = {1,2,3,4,5,6,7,8};

    l1.push_back(20);
    l1.push_front(30);
    for(auto e : l1)
    {
        cout << e << endl;
    }

}


int main()
{
    test();
    // list<int> l = {1,2,3,4,5,6,7,8};



    // for(auto e : l)
    // {
    //     cout << e << endl;
    // }

    return 0;
}



